package com.javaEE.gamepigeon.service;


import com.javaEE.gamepigeon.entity.Group;
import com.javaEE.gamepigeon.entity.UserFavorite;

import java.util.List;

public interface AttentionService {


    boolean addFavorite(Integer userId, Integer comId, Integer weight, String note,Integer groupId);

    boolean deleteFavorite(Integer userId, Integer comId);

    List<UserFavorite> queryFavorite(Integer userId);

    boolean addGroup(Integer userId, String name);

    List<Group> queryGroup(Integer userId);

    boolean deleteGroup(Integer groupId);

    boolean updateGroup(Integer groupId, String groupName);

    List<UserFavorite> getCompetition(Integer groupId);
}
